package service;

import bean.dto.AnnouncementPage;
import bean.pojo.Announcement;

import java.util.List;

/**
 * service
 * User: xlh
 * Date: 2024/12/23 14:25
 * motto:推到高塔
 * Description:
 * Version: V1.0
 */
public interface AnnouncementService {
    Long findByTotal(AnnouncementPage announcementPage);

    List<Announcement> findByPage(AnnouncementPage announcementPage);

    boolean updatAnnouncement(Announcement announcement);

    boolean addAnnouncement(Announcement announcement);

    boolean deleteAnnouncement(Integer announcementId);
}
